/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package TestClasses;

import java.util.Scanner;
import java.util.Vector;

/**
 *
 * @author Laurens
 */
public class DeleteMethodTestReference
{
    public DeleteMethodTestReference()
    {
        method();
        method_2();
        method_2();
        method_2();
        method_2();
        method_2();
        method_2();      
        paramsRef("", 0, null);
    }
    
    public String read(String file)
    {
        Scanner scanner = new Scanner(file);
        String result = "";
        int count = 0;
        while(scanner.hasNext())
        {
            String currentLine = scanner.nextLine();
            if(currentLine.contains("Object"))
            {
                for(int k = 0; k < 10; k++)
                {
                    if(currentLine.contains(" public "))
                    {
                        count++;
                    }
                }
            }
        }
        return result;
    }
    
    public int refactor()
    {
        System.out.println("refactor");
        return 0;
    }
    
    public String method_3()
    {
        return "";
    }
    
    public void method()
    {
        
    }
    
    public void method_2()
    {
        
    }
    
    public void params(String s, int i, Vector v)
    {
        s = "";
        i = 0;
        v = null;
    }
    
    public void paramsRef(String s, int i, Vector v)
    {
        s = "";
        i = 0;
        v = null;
    }
    
    public void noParams()
    {
        RenameMethodTestReference renameMethod = new RenameMethodTestReference();
        renameMethod.methodReferenced("");
        renameMethod.methodReferenced("");
        RenameMethodTestReference renameMethod123 = new RenameMethodTestReference();
        renameMethod123.methodReferenced("");
        renameMethod123.methodReferenced("");
        renameMethod123.methodReferenced("");
        
        renameMethod123.method();
        renameMethod123.method(0);
        renameMethod123.method(0, "");
    }
    
    public void noParamsRef()
    {
        
    }
}
